Auto merge of #1288 - alexcrichton:issue-1058, r=huonw
authorbors <bors@rust-lang.org>
Wed, 18 Feb 2015 16:20:53 +0000 (16:20 +0000)
committerbors <bors@rust-lang.org>
Wed, 18 Feb 2015 16:20:53 +0000 (16:20 +0000)
Previously the build script's profile was used instead of the target's build
script, causing the wrong environment variables to get set.

Closes #1058


Trivial merge